-
Notifications
You must be signed in to change notification settings - Fork 1
Refactor SquinToStimPass for clifford dialect + performance #510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…code as unit test
☂️ Python Coverage
Overall Coverage
New Files
Modified Files
|
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
9b63bee
to
9d86c00
Compare
…ime tests happy and drop wire reset test
2fd6109
to
275ea82
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very good! I just have a couple of high-level comments.
|
||
|
||
@statement(dialect=dialect) | ||
class Reset(ir.Statement): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This statement needs a pyqrack method and a cirq emit method impl. I can also add those, if you like. So either add them here, or a create a new issue and assign it to me, please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll make an issue, thank you! (See #546 )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, as long as the remaining @david-pl's comments get addressed
… instead of assertion-based failure
Also included a repetition code - like unit test. I figure this would be nice to have first before working on #498
I believe this should be backportable too which would be great because I'd like to use the
flatten
pass elsewhere instead of having identical versions floating around (: